{# 首页 注册 登录 #}
<!-- <!DOCTYPE html
    PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"> -->

<!DOCTYPE html>
<html>

{% load static %}

<head>
    <meta http-equiv="Content-Type" content="text/html;charset=UTF-8">

    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
    <!-- https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js -->
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/3.2.36/vue.cjs.min.js"></script>
    <!-- https://cdn.bootcdn.net/ajax/libs/vue/3.2.36/vue.cjs.min.js -->
    <script src="https://cdn.bootcdn.net/ajax/libs/vue/3.2.36/vue.cjs.js"></script>
    <script src="https://cdn.bootcdn.net/ajax/libs/jquery/3.6.0/jquery.min.js"></script>

    <meta charset="utf-8" />
    <!-- <title>自己urls2022</title> -->
    <!-- <link rel="stylesheet" type="text/css" href="My_homepage_frist.css" /> -->
    <!-- <link rel="stylesheet" type="text/css" href="My_homepage_frist.js" /> -->
    <!-- <script src="vue.js"></script> -->
    <meta name="viewport"
        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />

    {# 网页标题内容块 #}
    <title>{% block title %}{% endblock title %}</title>
    <link rel="stylesheet" type="text/css" href="{% static 'css/reset.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'css/main.css' %}">
    <link rel="stylesheet" type="text/css" href="{% static 'css/bootstrap.css' %}">

    {# 网页顶部引入文件块 #}
    {% block topfiles %}{% endblock topfiles %}

</head>

<body>
    {# 网页顶部欢迎信息块 #}
    {% block header_con %}
    <div class="header_con">
        <div class="header">
            <!-- <div class="welcome fl">欢迎来到天天生鲜!</div> -->
            <div class="fr">
                <div class="login_info fl">
                    <!-- 欢迎您：<em>*****</em> -->
                </div>
                <div class="login_btn fl">
                    <a href="http://127.0.0.1:8000">登录index</a>
                    <!-- <a href="http://127.0.0.1:8000/user/login/">登录</a> -->
                    <a href="/cart/show_cart/">我的购物车</a>
                    <a href="/cart/place_order/">我的订单</a>
                    <!-- <span>|</span> -->
                    <!-- <a href="http://127.0.0.1:8000/user/register/">注册</a> -->
                </div>
                <div class="user_link fl">
                    <!-- <span>|</span> -->
                    <!-- <a href="user_center_info.html">用户中心</a> -->
                    <!-- <span>|</span> -->
                    <!-- <a href="/cart/show_cart/">我的购物车</a> -->
                    <!-- <span>|</span> -->
                    <!-- <span>|</span> -->
                    <!-- <a href="http://127.0.0.1:8000/cart/cart/">我的购物车/cart/cart/</a> -->
                    <!-- <span>|</span> -->
                    
                    <!-- <a href="/cart/place_order/">我的订单</a> -->
                    <!-- <a href="user_center_order.html">我的订单user_center_order</a> -->
                </div>
            </div>
        </div>
        <div class="item">
            <ul class="tou" style="margin-top:50px;margin-left: 30px;">



                <ul class="dropdown-menu">
                    <li> </li>
                    <li> <a href="http://127.0.0.1:8000">登录index</a></li>
                    <li> <a href="/user/logout/">退出登录 </a></li>
                    <li><a href="#">个人信息</a> </li>
                    <li> <a href="http://127.0.0.1:8000/goods_list/">goods_list</a> </li>
                    <li> <a href="http://127.0.0.1:8000/logout/">注销</a></li>

                </ul>

            </ul>
        </div>
    </div>

    {% endblock header_con %}

    {# 网页顶部搜索框块 #}
    {% block search_bar %}
    <div class="search_bar clearfix">

        <!-- <a href="index.html" class="logo fl"> -->
            <!-- <span>logo -img??stype--</span> -->
            <!-- <img src="{% static 'images/logo.png' %}"> -->
        <!-- </a> -->
        <!-- <div class="search_con fl">
            <input type="text" class="input_text fl" name="q" placeholder="搜索商品">
            <input type="submit" class="input_btn fr" name="" value="搜索">
        </div> -->
        <!-- =======2023-3-11==查询====== -->
        <div  class="search_con fl">
            <form method="get" action="/search" >
                <!-- ##target="_blank" -->
                <input type="text" class="input_text fl" name="q" placeholder="搜索商品">
                <input type="submit" class="input_btn fr" name="" value="搜索">

            </form>
        </div>
        <div class="guest_cart fr"><br><br>
            <!-- <a href="/cart/show_cart/" class="cart_name fl">我的购物车</a><br><br> -->
            <!-- <div class="goods_count fl" id="show_count">1---待改--</div> -->
        </div>
    </div>

    {% endblock search_bar %}

    {# 网站主题内容块 #}
    {% block body %}{% endblock body %}

    <div class="footer">
        <div class="foot_link">
            <h3>
                <!-- <a href="http://127.0.0.1:8000/info/list/">首页login</a> -->
                <!-- <a href="http://127.0.0.1:8000/cdinfo/list/">产地信息</a>
                <a href="http://127.0.0.1:8000/cginfo/list/">采购信息</a>
                <a href="http://127.0.0.1:8000/jxc/list/">进销存信息</a> -->
                <a href="/">返回首页</a>
                <!-- <a href="http://127.0.0.1:8000/goods/">goods</a> -->

                <!-- <a href="http://127.0.0.1:8000/admin/">admin管理</a>
                <a href="http://127.0.0.1:8000/logout/">注销to-login2</a>
                <a href="http://127.0.0.1:8000/regedit_list/">User_list/</a>
                <a href="http://127.0.0.1:8000/orderlist/">submit_order_list</a> -->


            </h3>
            <!-- <a href="#">关于我们</a>
            <span>|</span>
            <a href="#">联系我们</a>
            <span>|</span>
            <a href="#">招聘人才</a>
            <span>|</span>
            <a href="#">友情链接</a> -->
        </div>
        <!-- <p>CopyRight © 2020 CN理工水果铺 All Rights Reserved</p>
        <p>电话：1xxxxxxx 粤ICP备号-1</p> -->
    </div>

    {# 网页底部HTML元素块 #}
    {% block bottom %}{% endblock bottom %}
    <!-- 有的有这块，有的没-->
    {# 网页底部引入文件块 #}
    {% block bottomfiles %}{% endblock bottomfiles %}


</body>

</html>